package org.xp.judgeplatform.pojo.dto.ProblemDTO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "题目查询请求")
public class ProblemQueryDTO {

    @Schema(description = "题目标题", example = "字符串")
    private String title;

    @Schema(description = "题目难度等级", example = "简单", allowableValues = {"简单", "中等", "困难"})
    private String difficulty;

    @Schema(description = "题目分类", example = "字符串", allowableValues = {"字符串", "数组", "算法"})
    private String category;

    @Schema(description = "分页页码", example = "1", defaultValue = "1", minimum = "1")
    private Integer pageNum = 1;

    @Schema(description = "分页大小", example = "10", defaultValue = "10", minimum = "1")
    private Integer pageSize = 10;
}
